<?php
class ModelBossthemesBossEditorthemes extends Model
{
   private $color_themes = array(
        'theme1' => array(
            'g_bg_color'                => 'ffffff',
            'g_text_1' 					=> '323232',
			'g_text_2' 					=> 'e31111',
			'g_text_3' 					=> '505050',
			'g_text_4' 					=> '969696',
            
			'h_bg_color'             	=> '000000',
			'h_bg'             			=> '000000',
            'h_text_normal'				=> '969696',
            'h_text_hover'		    	=> 'ffffff',
            'h_bg_1'       				=> '141414',
            'h_text_1_normal'        	=> '969696',
            'h_bor_color_1'        		=> '252525',
            'h_bor_color'      			=> '484848',
            'h_bg_3'        			=> '2c2c2c',
            'h_text_3_normal'        	=> 'ffffff',
            'h_bg_4'        			=> '2c2c2c',
            'h_text_4_normal'        	=> '969696',
            'h_text_4_hover'        	=> 'ffffff',
            'h_bor_color_2'        		=> '202020',
            'h_bor_color_3'        		=> '3f3f3f',
            'h_bor_bottom_1'        	=> '2a2a2a',
            'h_bor_bottom_2'        	=> '2a2a2a',
			
			'f_bg_color'                => 'ffffff',
            'f_text_1'                 	=> '323232',
            'f_text_normal_2'        	=> '323232',
            'f_text_hover_2'        	=> '969696',
			
            'm_bg_color'             	=> 'ffffff',
            'mdrop_bg_color'           	=> 'ffffff',
            'm_text_normal'            	=> '323232',
            'm_text_normal_1'        	=> '505050',
			
            'p_name_text_normal'        => '323232',
            'p_name_text_hover'   		=> 'e31111',
            'p_des_text'        		=> '323232',
            'p_price_text'             	=> '323232',
            'p_spec_text'               => 'e10000',
			'p_but_normal_color' 		=> '373737',
			'p_bor_normal_color' 		=> '373737',
			'p_bor_normal_color_1' 		=> '131313',
			'p_text_normal_color' 		=> 'ffffff',
			'p_but_cart_color' 		    => 'dc0000',
			'p_bor_cart_color' 			=> 'fe0000',
			'p_bor_cart_color_1' 		=> 'b00700',
			'p_text_cart_color' 		=> 'ffffff',
			'p_but_color' 				=> 'f6f6f5',
			'p_bor_color' 				=> 'e4e4e4',
			'p_bor_color_1' 		    => 'd2d2d2',
			'p_text_color' 		=> '323232',
			
            't_page'                  	=> '323232',
            't_bread_normal_1'         	=> '969696',
			't_bread_hover_1'			=> '484848',
			't_block_text' 				=> '323232',
			't_block_bor' 				=> '323232',
			't_block_text_1' 			=> 'ffffff',
			't_block_bg_1' 				=> 'df0000',
			't_block_text_2' 			=> 'ffffff',
			't_block_bg_2' 				=> '0060b3',
			't_block_text_3' 			=> '007dc8',
			't_block_text_hover_3' 		=> '323232',

        ),
        'theme2' => array(
            'g_bg_color'                => 'ffffff',
            'g_text_1' 					=> '323232',
			'g_text_2' 					=> 'e31111',
			'g_text_3' 					=> '505050',
			'g_text_4' 					=> '969696',
            
			'h_bg_color'             	=> 'ffffff',
			'h_bg'             			=> 'f0f0f0',
            'h_text_normal'				=> '969696',
            'h_text_hover'		    	=> '505050',
            'h_bg_1'       				=> 'ffffff',
            'h_text_1_normal'        	=> '969696',
            'h_bor_color_1'        		=> 'ebebeb',
            'h_bor_color'      			=> '252525',
            'h_bg_3'        			=> 'd51200',
            'h_text_3_normal'        	=> 'ffffff',
            'h_bg_4'        			=> '025690',
            'h_text_4_normal'        	=> 'ffffff',
            'h_text_4_hover'        	=> 'ffffff',
            'h_bor_color_2'        		=> '064672',
            'h_bor_color_3'        		=> '146298',
            'h_bor_bottom_1'        	=> '920b00',
            'h_bor_bottom_2'        	=> '00305c',
			
			'f_bg_color'                => 'ffffff',
            'f_text_1'                 	=> '323232',
            'f_text_normal_2'        	=> '323232',
            'f_text_hover_2'        	=> '969696',
			
            'm_bg_color'             	=> 'ffffff',
            'mdrop_bg_color'           	=> 'ffffff',
            'm_text_normal'            	=> '323232',
            'm_text_normal_1'        	=> '505050',
			
            'p_name_text_normal'        => '323232',
            'p_name_text_hover'   		=> 'e31111',
            'p_des_text'        		=> '323232',
            'p_price_text'             	=> '323232',
            'p_spec_text'               => 'e10000',
			'p_but_normal_color' 		=> '373737',
			'p_bor_normal_color' 		=> '373737',
			'p_bor_normal_color_1' 		=> '131313',
			'p_text_normal_color' 		=> 'ffffff',
			'p_but_cart_color' 		    => 'dc0000',
			'p_bor_cart_color' 			=> 'fe0000',
			'p_bor_cart_color_1' 		=> 'b00700',
			'p_text_cart_color' 		=> 'ffffff',
			'p_but_color' 				=> 'f6f6f5',
			'p_bor_color' 				=> 'e4e4e4',
			'p_bor_color_1' 		    => 'd2d2d2',
			'p_text_color' 		=> '323232',
			
            't_page'                  	=> '323232',
            't_bread_normal_1'         	=> '969696',
			't_bread_hover_1'			=> '484848',
			't_block_text' 				=> '323232',
			't_block_bor' 				=> '323232',
			't_block_text_1' 			=> 'ffffff',
			't_block_bg_1' 				=> 'c71e0e',
			't_block_text_2' 			=> 'ffffff',
			't_block_bg_2' 				=> '025690',
			't_block_text_3' 			=> '007dc8',
			't_block_text_hover_3' 		=> '323232',		
        ),
        'theme3' => array(
            'g_bg_color'                => 'ffffff',
            'g_text_1' 					=> '323232',
			'g_text_2' 					=> 'AB00A0',
			'g_text_3' 					=> '505050',	
			'g_text_4' 					=> '969696',	
            
			'h_bg_color'             	=> 'ffffff',
			'h_bg'             			=> 'fafafa',
            'h_text_normal'				=> '969696',
            'h_text_hover'		    	=> '505050',
            'h_bg_1'       				=> 'ffffff',
            'h_text_1_normal'        	=> '969696',
            'h_bor_color_1'        		=> 'eeeeee',
            'h_bor_color'      			=> '962293',
            'h_bg_3'        			=> '872282',
            'h_text_3_normal'        	=> 'ffffff',
            'h_bg_4'        			=> '872282',
            'h_text_4_normal'        	=> 'ffffff',
            'h_text_4_hover'        	=> 'ffffff',
            'h_bor_color_2'        		=> 'ac32a7',
            'h_bor_color_3'        		=> '6b1767',
            'h_bor_bottom_1'        	=> '962293',
            'h_bor_bottom_2'        	=> '962293',
			
			'f_bg_color'                => 'ffffff',
            'f_text_1'                 	=> '323232',
            'f_text_normal_2'        	=> '323232',
            'f_text_hover_2'        	=> '969696',
			
            'm_bg_color'             	=> 'ffffff',
            'mdrop_bg_color'           	=> 'ffffff',
            'm_text_normal'            	=> '323232',
            'm_text_normal_1'        	=> '505050',
			
            'p_name_text_normal'        => '323232',
            'p_name_text_hover'   		=> 'AB00A0',
            'p_des_text'        		=> '323232',
            'p_price_text'             	=> '323232',
            'p_spec_text'               => 'ab00a0',
			'p_but_normal_color' 		=> '373737',
			'p_bor_normal_color' 		=> '373737',
			'p_bor_normal_color_1' 		=> '131313',
			'p_text_normal_color' 		=> 'ffffff',
			'p_but_cart_color' 		    => '7e1776',
			'p_bor_cart_color' 			=> 'ad1fa3',
			'p_bor_cart_color_1' 		=> '4f004a',
			'p_text_cart_color' 		=> 'ffffff',
			'p_but_color' 				=> 'f6f6f5',
			'p_bor_color' 				=> 'e4e4e4',
			'p_bor_color_1' 		    => 'd2d2d2',
			'p_text_color' 				=> '323232',
			
            't_page'                  	=> '323232',
            't_bread_normal_1'         	=> '969696',
			't_bread_hover_1'			=> '484848',
			't_block_text' 				=> '323232',
			't_block_bor' 				=> '323232',
			't_block_text_1' 			=> 'ffffff',
			't_block_bg_1' 				=> '10bd10',
			't_block_text_2' 			=> 'ffffff',
			't_block_bg_2' 				=> '6a339e',
			't_block_text_3' 			=> 'ab00a0',
			't_block_text_hover_3' 		=> '323232',		
        ),
        'theme4' => array(
            'g_bg_color'                => 'ffffff',
            'g_text_1' 					=> '323232',
			'g_text_2' 					=> 'f60084',
			'g_text_3' 					=> '505050',
			'g_text_4' 					=> '969696',			
            
			'h_bg_color'             	=> '000000',
			'h_bg'             			=> '000000',
            'h_text_normal'				=> '969696',
            'h_text_hover'		    	=> 'ffffff',
            'h_bg_1'       				=> '141414',
            'h_text_1_normal'        	=> '969696',
            'h_bor_color_1'        		=> '252525',
            'h_bor_color'      			=> '00c6c2',
            'h_bg_3'        			=> '00c6c2',
            'h_text_3_normal'        	=> 'ffffff',
            'h_bg_4'        			=> '00c6c2',
            'h_text_4_normal'        	=> 'ffffff',
            'h_text_4_hover'        	=> 'ffffff',
            'h_bor_color_2'        		=> '00cbc8',
            'h_bor_color_3'        		=> '008e89',
            'h_bor_bottom_1'        	=> '02888d',
            'h_bor_bottom_2'        	=> '02888d',
			
			'f_bg_color'                => 'ffffff',
            'f_text_1'                 	=> '323232',
            'f_text_normal_2'        	=> '323232',
            'f_text_hover_2'        	=> '969696',
			
            'm_bg_color'             	=> 'ffffff',
            'mdrop_bg_color'           	=> 'ffffff',
            'm_text_normal'            	=> '323232',
            'm_text_normal_1'        	=> '505050',
			
            'p_name_text_normal'        => '323232',
            'p_name_text_hover'   		=> 'f60084',
            'p_des_text'        		=> '323232',
            'p_price_text'             	=> '323232',
            'p_spec_text'               => 'f60084',
			'p_but_normal_color' 		=> '373737',
			'p_bor_normal_color' 		=> '373737',
			'p_bor_normal_color_1' 		=> '131313',
			'p_text_normal_color' 		=> 'ffffff',
			'p_but_cart_color' 		    => 'f60084',
			'p_bor_cart_color' 			=> 'ff4fad',
			'p_bor_cart_color_1' 		=> 'cc006e',
			'p_text_cart_color' 		=> 'ffffff',
			'p_but_color' 				=> 'f6f6f5',
			'p_bor_color' 				=> 'e4e4e4',
			'p_bor_color_1' 		    => 'd2d2d2',
			'p_text_color' 				=> '323232',
			
            't_page'                  	=> '323232',
            't_bread_normal_1'         	=> '969696',
			't_bread_hover_1'			=> '484848',
			't_block_text' 				=> '323232',
			't_block_bor' 				=> '323232',
			't_block_text_1' 			=> 'ffffff',
			't_block_bg_1' 				=> 'ec007f',
			't_block_text_2' 			=> 'ffffff',
			't_block_bg_2' 				=> '00c6c2',
			't_block_text_3' 			=> 'f60084',
			't_block_text_hover_3' 		=> '323232',			
        )
    );
	
	private $background = array(
            'g_bg_image_1'       => 'back_1.png',
            'g_bg_image_2'       => 'back_2.png',
            'g_bg_image_3'       => 'back_3.png',
            'g_bg_image_4'       => 'back_4.png',
            'g_bg_image_5'       => 'back_5.png',
            'g_bg_image_6'       => 'back_6.png',
			'g_bg_image_7'       => 'back_7.png',
            'g_bg_image_8'       => 'back_8.png',
            'g_bg_image_9'       => 'back_9.png',
            'g_bg_image_10'       => 'back_10.png',
            'g_bg_image_11'       => 'back_11.png',
            'g_bg_image_12'       => 'back_12.png',
			'g_bg_image_13'       => 'back_13.png',
            'g_bg_image_14'       => 'back_14.png',
            'g_bg_image_15'       => 'back_15.png'
    );

    private $theme_name;
	

    private $theme_names = array(
        'theme1' => 'Default',
        'theme2' => 'Blue',
        'theme3' => 'Purple',
        'theme4' => 'Turquoise'  
    );

    public function setThemeName($theme_name)
    {
        $this->theme_name = $theme_name;
    }

   
    public function getThemeNames()
    {
        return $this->theme_names;
    }

    public function getColorThemes()
    {
        return $this->color_themes;
    }
	
	public function getBackgrounds()
    {
        return $this->background;
    }
    function getExtensions($type) {
        $query = $this->db->query("SELECT * FROM " . DB_PREFIX . "extension WHERE `type` = '" . $this->db->escape($type) . "'");

        return $query->rows;
    }

}